package com.prothink.entity;

import java.math.BigDecimal;
import java.util.Date;
//订单信息表
public class JsUserOrder {


    private Integer orderId;//自增主键
    private Integer userId;//外键（用户表id)
    private Integer addressId;//外键（用户地址表id）
    private Integer userNumber;//用户编号
    private Integer orderNo;//供客户查询订单编号
    private Integer shopId;//购买编号
    private String orderStatus;//订单状态(2待付款，3已付款，4待发货，5已发货，6已签收，7退货申请，8退货中，9已退货，10取消交易
    private Integer productCount;//商品数量
    private BigDecimal priceTotal;//商品总价
    private BigDecimal logisticsFee;//订单金额
    private BigDecimal freightAmount;//运费金额
    private Integer orderLogisticsNumber;//订单物流编号
    private Integer orderType;//2视频，3商品
    private Integer orderPaymentChannel;//2.微信支付,3.余额支付
    private Integer paymentOrderNo;//第三方支付流水号
    private String receivingAddress;//外键（收货地址表id）
    private Date paymentTime;//付款时间
    private Date deliveryTime;//发货时间
    private Integer orderSource;//来源（2小程序，3app）
    private Integer comment;//是否已评论（2待评论，3已评论）
    private String remarks;//用户备注
    private Date createDate;//下单时间
    private Integer updateId;//更新人
    private Date updateDate;//更新时间


    private String account;//唯一账号

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("JsUserOrder{");
        sb.append("orderId=").append(orderId);
        sb.append(", userId=").append(userId);
        sb.append(", addressId=").append(addressId);
        sb.append(", userNumber=").append(userNumber);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", shopId=").append(shopId);
        sb.append(", orderStatus='").append(orderStatus).append('\'');
        sb.append(", productCount=").append(productCount);
        sb.append(", priceTotal=").append(priceTotal);
        sb.append(", logisticsFee=").append(logisticsFee);
        sb.append(", freightAmount=").append(freightAmount);
        sb.append(", orderLogisticsNumber=").append(orderLogisticsNumber);
        sb.append(", orderType=").append(orderType);
        sb.append(", orderPaymentChannel=").append(orderPaymentChannel);
        sb.append(", paymentOrderNo=").append(paymentOrderNo);
        sb.append(", receivingAddress='").append(receivingAddress).append('\'');
        sb.append(", paymentTime=").append(paymentTime);
        sb.append(", deliveryTime=").append(deliveryTime);
        sb.append(", orderSource=").append(orderSource);
        sb.append(", comment=").append(comment);
        sb.append(", remarks='").append(remarks).append('\'');
        sb.append(", createDate=").append(createDate);
        sb.append(", updateId=").append(updateId);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", account='").append(account).append('\'');
        sb.append('}');
        return sb.toString();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public Integer getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(Integer userNumber) {
        this.userNumber = userNumber;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getProductCount() {
        return productCount;
    }

    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    public BigDecimal getPriceTotal() {
        return priceTotal;
    }

    public void setPriceTotal(BigDecimal priceTotal) {
        this.priceTotal = priceTotal;
    }

    public BigDecimal getLogisticsFee() {
        return logisticsFee;
    }

    public void setLogisticsFee(BigDecimal logisticsFee) {
        this.logisticsFee = logisticsFee;
    }

    public BigDecimal getFreightAmount() {
        return freightAmount;
    }

    public void setFreightAmount(BigDecimal freightAmount) {
        this.freightAmount = freightAmount;
    }

    public Integer getOrderLogisticsNumber() {
        return orderLogisticsNumber;
    }

    public void setOrderLogisticsNumber(Integer orderLogisticsNumber) {
        this.orderLogisticsNumber = orderLogisticsNumber;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getOrderPaymentChannel() {
        return orderPaymentChannel;
    }

    public void setOrderPaymentChannel(Integer orderPaymentChannel) {
        this.orderPaymentChannel = orderPaymentChannel;
    }

    public Integer getPaymentOrderNo() {
        return paymentOrderNo;
    }

    public void setPaymentOrderNo(Integer paymentOrderNo) {
        this.paymentOrderNo = paymentOrderNo;
    }

    public String getReceivingAddress() {
        return receivingAddress;
    }

    public void setReceivingAddress(String receivingAddress) {
        this.receivingAddress = receivingAddress;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public Integer getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(Integer orderSource) {
        this.orderSource = orderSource;
    }

    public Integer getComment() {
        return comment;
    }

    public void setComment(Integer comment) {
        this.comment = comment;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }


}
